export default [
  {
    path: "/label",
    name: "label",
    title: "标签条管理",
    component: () => import("../../layout/index.vue"),
    sort: 2,
    icon: "Menu",
    meta: {
      name: "标签条管理",
      menuId: "system:main",
    },
    children: [
      {
        path: "/labelForm",
        name: "labelForm",
        title: "标签条管理",
        icon: "Menu",
        component: () => import("../../views/label/labelForm/index.vue"),
        meta: {
          requiresAuth: true, //有一些页面是否登录才能进去
          name: "标签条管理",
          menuId: "system:label",
        },
      },
      {
        path: "/varietyForm",
        name: "varietyForm",
        title: "品种管理",
        icon: "Menu",
        component: () => import("../../views/label/varietyForm/index.vue"),
        meta: {
          requiresAuth: true, //有一些页面是否登录才能进去
          name: "品种管理",
          menuId: "system:breed",
        },
      },
      {
        path: "/dealerForm",
        name: "dealerForm",
        title: "经销商管理",
        icon: "Menu",
        component: () => import("../../views/label/dealerForm/index.vue"),
        meta: {
          requiresAuth: true, //有一些页面是否登录才能进去
          name: "经销商管理",
          menuId: "system:dealer",
        },
      },
      {
        path: "/printView",
        name: "printView",
        title: "打印模板",
        icon: "Menu",
        component: () => import("../../views/printView/printView.vue"),
        meta: {
          requiresAuth: true, //有一些页面是否登录才能进去
          name: "打印模板",
          menuId: "system:label",
        },
      },
      {
        path: "/printLabel",
        name: "printLabel",
        title: "新增标签条",
        icon: "Menu",
        component: () => import("../../views/printView/printLabel.vue"),
        meta: {
          requiresAuth: true, //有一些页面是否登录才能进去
          name: "新增标签条",
          menuId: "system:label",
        },
      },
    ],
  },
];
